package com.xal.pojo.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * @program: Swagger2
 * @author: 邢奥林
 * @create: 2023-04-12 19:10
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
@ApiModel(value = "接受学生的请求参数")
public class StudnetVo {
    @ApiModelProperty(value = "学生的姓名")
    private String sname;
    @ApiModelProperty(value = "学生的id")
    @TableId(type = IdType.AUTO)
    private Integer sid;
    @ApiModelProperty(value = "学生的年龄")
    private Integer sage;
}
